package com.itheima.blockingquene;

import java.util.concurrent.ArrayBlockingQueue;

public class Demo02 {

    public static void main(String[] args) throws InterruptedException {


        // 创建阻塞队列的对象,容量为 1
        ArrayBlockingQueue<String> arrayBlockingQueue = new ArrayBlockingQueue<>(2);

        System.out.println("程序结束了");

    }
}
